package cool.tenyears.admin.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @Author tenyears
 * @Description 用户登陆信息
 * @Date 2021/7/8 21:09
 */
@Data
@ApiModel(value = "cool-tenyears-admin-domain-LoginUserDto", description = "用户登陆信息")
public class LoginUserDto implements Serializable {
    @ApiModelProperty(value = "【必填】用户签名(包括用户名、邮箱、手机号)", required = true)
    @NotEmpty(message = "用户信息不能为空")
    private String sign;

    @ApiModelProperty(value = "【必填】密码", required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;

    private static final long serialVersionUID = -5453497234350383645L;
}
